Imports TeamUp.Negocio
Imports TeamUp.Entidades
Imports System.Collections.Generic
Public Class Facade

    Private Shared objFachada As Facade

    Private Sub New()

    End Sub

    Public Shared Function getInstance() As Facade
        If objFachada Is Nothing Then
            getInstance = New Facade
        Else
            getInstance = objFachada
        End If
    End Function



#Region "ControladorUsuario"
    Public Function consultarUsuario(ByVal objUsuario As Usuario) As List(Of Usuario)
        Dim objControladorParticipante As ControladorParticipanteUsuario = New ControladorParticipanteUsuario(Nothing)
        consultarUsuario = objControladorParticipante.consultarUsuario(objUsuario)
    End Function
#End Region

#Region "ControladorProjeto"
    Public Function consultarProjeto(ByVal objProjeto As Projeto) As List(Of Projeto)
        Dim objControladorProjeto As ControladorProjeto = New ControladorProjeto(Nothing)
        consultarProjeto = objControladorProjeto.consultarProjeto(objProjeto)
    End Function
#End Region

#Region "ControladorEscopo"
    Public Function consultarEscopo(ByVal objProjeto As Projeto, ByVal objEscopo As Escopo) As List(Of Escopo)
        Dim objControladorEscopo As ControladorEscopo = New ControladorEscopo(Nothing)
        consultarEscopo = objControladorEscopo.consultarEscopo(objProjeto, objEscopo)
    End Function

    Public Sub incluirEscopo(ByVal objEscopo As Escopo)
        Dim objControladorEscopo As ControladorEscopo = New ControladorEscopo(Nothing)
        objControladorEscopo.incluirEscopo(objEscopo)
    End Sub

    Public Sub excluirEscopo(ByVal objEscopo As Escopo)
        Dim objControladorEscopo As ControladorEscopo = New ControladorEscopo(Nothing)
        objControladorEscopo.excluirEscopo(objEscopo)
    End Sub
#End Region

#Region "ControladorSessao"
   
#End Region

#Region "ControladorAtividade"

#End Region

#Region "ControladorEstimativa"

#End Region

#Region "ControladorRelatorio"

#End Region

End Class
